package demo06_Builder.model;

/**
 * 记忆模式
 */
public class RememberModePlayerBuilder extends PlayBuilder {

    private String pre = "记忆模式";
    @Override
    public void bulidList() {
        this.player.setBar(pre+"列表");
    }

    @Override
    public void buildBar() {
        player.setBar(pre +"控制条");
    }

    @Override
    public void bulidWindow() {
        player.setWindow(pre+"窗口");
    }

    @Override
    public void bulidMenu() {
        player.setMenu(pre+"菜单");
    }

    @Override
    public void buildCollection() {
        player.setCollection(pre+"收藏");
    }

    @Override
    public boolean hasBar() {
        return true;
    }

    @Override
    public boolean hasWindow() {
        return true;
    }

    @Override
    public boolean hasCollection() {
        return true;
    }
}
